<?php $view->extend('::base.html.php') ?>
<?php //var_dump($heroes);ng-controller="" ?>
<p>
	<?php //echo $raw; ?>
</p>
<p>
	<?php //echo htmlspecialchars($parsed, ENT_COMPAT, 'UTF-8'); ?>
</p>
<p>
	<?php //echo $parsed; ?>
</p>
<form action="<?php echo $view['router']->generate('heroes_test') ?>" method="post">
<textarea toolbar name="inputarea"></textarea>
<input type="submit" value="Submit">
</form>
<?php if ($parsed): ?>
<h3>Preview</h3>
<div>
	<?php
		//var_dump($parsed);
		//echo htmlspecialchars($parsed);
		echo $parsed ?>
</div>
<?php endif; ?>